home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 7654 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  2.9 KB

  1. Path: bruce.cs.monash.edu.au!not-for-mail
  2. From: jirib@bruce.cs.monash.edu.au (Jiri Baum)
  3. Newsgroups: comp.lang.misc,comp.lang.perl.misc,comp.lang.tcl,comp.lang.c,comp.lang.java,alt.lang.intercal
  4. Subject: Re: Readable Perl (was: Re: Relative Speed of Perl vs. Tcl vs. C)
  5. Followup-To: comp.lang.misc,comp.lang.perl.misc,comp.lang.tcl,comp.lang.c,comp.lang.java,alt.lang.intercal
  6. Date: 28 Feb 1996 01:14:43 GMT
  7. Organization: Monash University
  8. Message-ID: <4h0aa3$dpl@harbinger.cc.monash.edu.au>
  9. References: <4e3a2u$eoa@wcap.centerline.com> <ukd97hwzkc.fsf_-_@linda.teleport.com> <4gb3kp$lu7@gaia.ns.utk.edu> <4ge7bk$4vq@news.ox.ac.uk> <4gtr64$s7h@news.xs4all.nl>
  10. NNTP-Posting-Host: molly.cs.monash.edu.au
  11. X-NNTP-Posting-User: jirib
  12. X-Newsreader: TIN [UNIX 1.3 950823BETA PL0]
  13.  
  14. -----BEGIN PGP SIGNED MESSAGE-----
  15.  
  16. Jan-Pieter Cornet (johnpc@xs4all.nl) wrote:
  17. ... [discussion about best readable language] ...
  18. > No, you got it all totally wrong. I think this is the best readable
  19. > (in Tri-INTERCAL):
  20. ...
  21. [INTERCAL code snipped - 43 lines to count to 10 nicely]
  22. ...
  23. > Anyone else will simply be too scared to touch this code. So you can be
  24. > pretty sure nobody changes it behind your back.
  25. ...
  26.  
  27. I report changing it to count to 15, but I guess that's a trivial change.
  28. Similarly boring is to have it get the limit from stdin...
  29.  
  30. ...
  31. > In fact, you can be pretty sure you won't change it either after you
  32. > wrote it, because you will probably have forgotten how the program
  33. > works 5 minutes after you wrote it. So any luser nagging for extra
  34. > features afterwards, is SOL.
  35. ...
  36.  
  37. Could you change it to count in decimal? Please? Pretty please?
  38.  
  39. ...
  40. > The other major advantage is... the above code took me about 3 hours
  41. > to write. Compare this to the 10 to 30 seconds it takes to write a
  42. ...
  43.  
  44. And making one that counts in decimal is likely to take much longer still.
  45.  
  46. ...
  47. > PS: this article contains some strange usage of the words "best readable"
  48. > that you probably weren't previously aware of :)
  49. ...
  50.  
  51. One thing I like about INTERCAL (any variant) is that it's the only
  52. language I can think of where a program may legally have the words
  53.             DON'T PANIC
  54. at the top in large friendly letters.
  55.  
  56.  
  57. ...
  58. > Linux -- "It's computing, Jim, but not as we know it"
  59. ...
  60.  
  61. Hmm, I wonder if the same goes for INTERCAL :-)
  62.  
  63.  
  64. Jiri
  65. - --                                                              /-----\
  66. <jirib@cs.monash.edu.au>                                       |   |   |
  67. <jiri@melb.dialix.oz.au>                                       |   |   |
  68. PGP 463A14D5 (normal key)                                      |  /    |
  69. PGP EF0607F9 (low security key)                                 \-----/
  70.  
  71. -----BEGIN PGP SIGNATURE-----
  72. Version: 2.6.2i
  73.  
  74. iQCVAwUBMTOsaixV6mvvBgf5AQE3OgP/VIF0oiBMDkTKGCY63oTdWUEdqEBVbKqQ
  75. AEjo2GkWgmngd/TykaCyWEfy2YcqW6bZhI8RJLpYCCAlg9UEljsUgqFIJc8tbvui
  76. LUhDIAGw+CxMInGcQmgBFTi/LLoCzJJZec3xtL3TUSNmDq3k2QQbABQoosYCJLx8
  77. NASIlVSsfJU=
  78. =ucZl
  79. -----END PGP SIGNATURE-----
  80.